# This sample script assumes you have an Advance Wars ROM named 'AW.gba', and a Fire Emblem 7 ROM named 'FE7.gba'.
# It rips Sonja's theme music from Advance Wars and replaces the opening theme from Fire Emblem 7 with it. The result is saved to 'test.gba'.
# After that is done, it will dump all the instrument samples found in the FE7 ROM to a folder called 'samples', in AIFF format.
open AW
rip 0x271728
open FE7
burn 0x69d9c0
dump samples 0x69D6E0 0x69F620
close test
